package com.aidex.system.service.impl;

import java.util.List;
import com.github.pagehelper.PageInfo;
import com.aidex.common.core.domain.entity.SysUser;
import com.aidex.common.core.domain.entity.SysDept;
import com.aidex.common.core.service.BaseServiceImpl;
import com.aidex.framework.cache.DeptUtils;
import com.aidex.framework.cache.UserUtils;
import org.springframework.stereotype.Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.aidex.system.mapper.TCasebaseAwbMapper;
import com.aidex.system.domain.TCasebaseAwb;
import com.aidex.system.service.TCasebaseAwbService;
import org.springframework.transaction.annotation.Transactional;

/**
 * 运单安检基础信息Service业务层处理
 * @author wll
 * @email wll
 * @date 2021-10-14
 */
@Service
@Transactional(readOnly = false)
public class TCasebaseAwbServiceImpl extends BaseServiceImpl<TCasebaseAwbMapper, TCasebaseAwb> implements TCasebaseAwbService
{
    private static final Logger log = LoggerFactory.getLogger(TCasebaseAwbServiceImpl.class);

    /**
     * 获取单条数据
     * @param tCasebaseAwb 运单安检基础信息
     * @return 运单安检基础信息
     */
    @Override
    public TCasebaseAwb get(TCasebaseAwb tCasebaseAwb)
    {
        TCasebaseAwb dto = super.get(tCasebaseAwb);
        return dto;
    }

    /**
     * 获取单条数据
     * @param id 运单安检基础信息id
     * @return 运单安检基础信息
     */
    @Override
    public TCasebaseAwb get(String id)
    {
        TCasebaseAwb dto = super.get(id);
        return dto;
    }


    /**
     * 查询运单安检基础信息列表
     * @param tCasebaseAwb 运单安检基础信息
     * @return 运单安检基础信息
     */
    @Override
    public List<TCasebaseAwb> findList(TCasebaseAwb tCasebaseAwb)
    {
        return super.findList(tCasebaseAwb);
    }

    /**
     * 分页查询运单安检基础信息列表
     * @param tCasebaseAwb 运单安检基础信息
     * @return 运单安检基础信息
     */
    @Override
    public PageInfo<TCasebaseAwb> findPage(TCasebaseAwb tCasebaseAwb)
    {
        return super.findPage(tCasebaseAwb);
    }

    /**
     * 保存运单安检基础信息
     * @param tCasebaseAwb
     * @return 结果
     */
    @Override
    public boolean save(TCasebaseAwb tCasebaseAwb)
    {
        return super.save(tCasebaseAwb);
    }


    /**
     * 删除运单安检基础信息信息
     * @param tCasebaseAwb
     * @return 结果
     */
    @Override
    public boolean remove(TCasebaseAwb tCasebaseAwb)
    {
        return super.remove(tCasebaseAwb);
    }

    /**
     * 批量删除运单安检基础信息
     * @param ids 需要删除的运单安检基础信息ID
     * @return 结果
     */
    @Transactional(readOnly = false)
    @Override
    public int deleteTCasebaseAwbByIds(String[] ids)
    {
        return mapper.deleteTCasebaseAwbByIds(ids);
    }

}
